/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package service.costCalculator;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author chapmand
 */
@XmlRootElement(name="CostCalcResults")
@XmlAccessorType(XmlAccessType.FIELD)
public class CostCalcResults {
    private double recipeCost;
    private double waterCost;
    private double overheadCost;
    private double brewDayCost;
    private double primaryFermCost;
    private double secondaryFermCost;
    private double fineCost;
    private double filterCost;
    private double xferCost;
    private double pkgBatchCost;
    private double totalBatchCost;
    private double pkgMaterialCost;
    private double pkgUnitProcedureCost;
    private double pkgUnitTotal;
    private double unitsInBatch;
    private double unitBatchCost;
    private double totalUnitCost;
    

    public double getRecipeCost() {
        return recipeCost;
    }

    public void setRecipeCost(double recipeCost) {
        this.recipeCost = recipeCost;
    }

    public double getWaterCost() {
        return waterCost;
    }

    public void setWaterCost(double waterCost) {
        this.waterCost = waterCost;
    }

    public double getOverheadCost() {
        return overheadCost;
    }

    public void setOverheadCost(double overheadCost) {
        this.overheadCost = overheadCost;
    }

    public double getBrewDayCost() {
        return brewDayCost;
    }

    public void setBrewDayCost(double brewDayCost) {
        this.brewDayCost = brewDayCost;
    }

    public double getPrimaryFermCost() {
        return primaryFermCost;
    }

    public void setPrimaryFermCost(double primaryFermCost) {
        this.primaryFermCost = primaryFermCost;
    }

    public double getSecondaryFermCost() {
        return secondaryFermCost;
    }

    public void setSecondaryFermCost(double secondaryFermCost) {
        this.secondaryFermCost = secondaryFermCost;
    }

    public double getFineCost() {
        return fineCost;
    }

    public void setFineCost(double fineCost) {
        this.fineCost = fineCost;
    }

    public double getFilterCost() {
        return filterCost;
    }

    public void setFilterCost(double filterCost) {
        this.filterCost = filterCost;
    }

    public double getXferCost() {
        return xferCost;
    }

    public void setXferCost(double xferCost) {
        this.xferCost = xferCost;
    }

    public double getPkgBatchCost() {
        return pkgBatchCost;
    }

    public void setPkgBatchCost(double pkgBatchCost) {
        this.pkgBatchCost = pkgBatchCost;
    }

    public double getTotalBatchCost() {
        return totalBatchCost;
    }

    public void setTotalBatchCost() {
        this.totalBatchCost = recipeCost + waterCost + overheadCost + brewDayCost 
                + primaryFermCost + secondaryFermCost + fineCost + filterCost 
                + xferCost;
    }

    public double getPkgMaterialCost() {
        return pkgMaterialCost;
    }

    public void setPkgMaterialCost(double pkgMaterialCost) {
        this.pkgMaterialCost = pkgMaterialCost;
    }

    public double getPkgUnitProcedureCost() {
        return pkgUnitProcedureCost;
    }

    public void setPkgUnitProcedureCost(double pkgUnitProcedureCost) {
        this.pkgUnitProcedureCost = pkgUnitProcedureCost;
    }

    public double getPkgUnitTotal() {
        return pkgUnitTotal;
    }

    public void setPkgUnitTotal() {
        this.pkgUnitTotal = pkgMaterialCost + pkgUnitProcedureCost;
    }

    public double getUnitsInBatch() {
        return unitsInBatch;
    }

    public void setUnitsInBatch(double unitsInBatch) {
        this.unitsInBatch = unitsInBatch;
    }

    public double getUnitBatchCost() {
        return unitBatchCost;
    }

    public void setUnitBatchCost(double unitBatchCost) {
        this.unitBatchCost = unitBatchCost;
    }

    public double getTotalUnitCost() {
        return totalUnitCost;
    }

    public void setTotalUnitCost(double totalUnitCost) {
        this.totalUnitCost = totalUnitCost;
    }
}
